memorytexture: Add support for HDR formats
authorBenjamin Otte <otte@redhat.com>
Sat, 11 Sep 2021 19:18:56 +0000 (21:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2021 03:54:37 +0000 (05:54 +0200)
commit1759d27da9a17d0130df7078bfa9355618047b6c
treea4d3f9b7bc723e258a2db09037e04d692a7b733b
parent53275481a56c0f92a26e4fffb34db8fd98f6d4a0
memorytexture: Add support for HDR formats

Also sanitize the input bytes so the strides match alignment
requirements of the data types.
gdk/gdkmemorytexture.c
gdk/gdkmemorytexture.h